﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using BrokerBase.Lib.Query;
using Telerik.Windows.Controls;

namespace Broker.View.Comm
{

    public enum ListPageModel { List = 0, Select = 1 }

    public abstract class ListPage:Page
    {
        

        public ListPage():base()
        {


        }

        public RadWindow Owner { get; set; }

        public ListPageModel PageModel { get; set; }

        public object SelectedItem { get; set; }

        protected abstract void Query();


        public virtual T SelectByHQLWithPaging<T>(PagingQuery pq) where T : class
        {

            return null;
        }

    }
}
